package cn.edu.imufe.crud.beans;

/**
 * @Auther: sunYong
 * @Date: 2019/2/17 20:39
 * @Description: ${package_name}
 */
public class User {
    private int id;
    private String name;
    private String password;
    private String email;
    private String perms;

    public User() {
    }

    public User(int id, String name, String password, String email, String perms) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.email = email;
        this.perms = perms;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", perms='" + perms + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }
}
